#include "bsp_main.h"

void app_main(void)
{
    bsp_main_init();
    

    xTaskCreate(task_sysmain, "task_sysmain", 4096, NULL, 10, NULL);
    xTaskCreate(uart_event_task, "uart_event_task", 2048, NULL, 12, NULL);
    xTaskCreate(&http_task, "http_task", 2048*4, NULL, 10, NULL);

    /* 计时中断 */
    mygptimer_init(my_timer_on_alarm_cb);
    mygptimer2_init(my_timer2_on_alarm_cb);
    int cnt = 0;
    while(1){
        printf("cnt: %d\n", cnt++);
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }


}
